package bairui.international.controller.barter.property;

import com.sh_lianjing.spring.web.controller.enhance.module.*;
import com.sh_lianjing.spring.web.controller.enhance.module.body.*;
import com.sh_lianjing.spring.web.controller.enhance.output.bean.*;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemPage_Page;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemAdd_AddAccess;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemImport_ExcelImport;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemExport_ExcelExport;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemDetail_DetailAccess;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemEdit_EditAccess;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemDelete_Delete;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemPublish_Submit;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemUp_Submit;
import bairui.international.controller.barter.property.item.C_Barter_Property_PropertyItemDown_Submit;

/**
 *
 * Module_ItemPage
 *
 */
class Module_ItemPage{

	/**
	 * 分页模块
	 */
	public Module module(
		com.sh_lianjing.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_Barter_Property_PropertyItemPage_Page.Page.Operate c_Barter_Property_PropertyItemPage_Page_Page_Operate
	,	C_Barter_Property_PropertyItemAdd_AddAccess.AddAccess.Operate c_Barter_Property_PropertyItemAdd_AddAccess_AddAccess_Operate
	,	C_Barter_Property_PropertyItemImport_ExcelImport.ExcelImport.Operate c_Barter_Property_PropertyItemImport_ExcelImport_ExcelImport_Operate
	,	C_Barter_Property_PropertyItemExport_ExcelExport.ExcelExport.Operate c_Barter_Property_PropertyItemExport_ExcelExport_ExcelExport_Operate
	,	C_Barter_Property_PropertyItemDetail_DetailAccess.DetailAccess.Operate c_Barter_Property_PropertyItemDetail_DetailAccess_DetailAccess_Operate
	,	C_Barter_Property_PropertyItemEdit_EditAccess.EditAccess.Operate c_Barter_Property_PropertyItemEdit_EditAccess_EditAccess_Operate
	,	C_Barter_Property_PropertyItemDelete_Delete.Delete.Operate c_Barter_Property_PropertyItemDelete_Delete_Delete_Operate
	,	C_Barter_Property_PropertyItemPublish_Submit.Submit.Operate c_Barter_Property_PropertyItemPublish_Submit_Submit_Operate
	,	C_Barter_Property_PropertyItemUp_Submit.Submit.Operate c_Barter_Property_PropertyItemUp_Submit_Submit_Operate
	,	C_Barter_Property_PropertyItemDown_Submit.Submit.Operate c_Barter_Property_PropertyItemDown_Submit_Submit_Operate
	){
		return
			new Module(
					new ModuleHead("属性项列表")
						.addOperate(
							c_Barter_Property_PropertyItemAdd_AddAccess_AddAccess_Operate
								.defaultComment("添加")
								.defaultTarget(com.sh_lianjing.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addOperate(
							c_Barter_Property_PropertyItemImport_ExcelImport_ExcelImport_Operate
								.defaultComment("导入")
						)
						.addOperate(
							c_Barter_Property_PropertyItemExport_ExcelExport_ExcelExport_Operate
								.defaultComment("导出")
						)
					, 
					new PageModuleBody(
							moduleFeature,
							ItemPage_OutputInfo.outputInfo(),
							new PageFilterInfo(
									ItemPage_BaseFilter.info(), 
									ItemPage_OutputInfo.pageInfo(), 
									ItemPage_OutputInfo.orderInfo()
								),
							c_Barter_Property_PropertyItemPage_Page_Page_Operate
						)
						.addListOperate(
							c_Barter_Property_PropertyItemDetail_DetailAccess_DetailAccess_Operate
								.defaultComment("详情")
								.defaultTarget(com.sh_lianjing.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addListOperate(
							c_Barter_Property_PropertyItemEdit_EditAccess_EditAccess_Operate
								.defaultComment("编辑")
								.defaultTarget(com.sh_lianjing.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addListOperate(
							c_Barter_Property_PropertyItemDelete_Delete_Delete_Operate
								.defaultComment("删除")
						)
						.addListOperate(
							c_Barter_Property_PropertyItemPublish_Submit_Submit_Operate
								.defaultComment("发布")
						)
						.addListOperate(
							c_Barter_Property_PropertyItemUp_Submit_Submit_Operate
								.defaultComment("上架")
						)
						.addListOperate(
							c_Barter_Property_PropertyItemDown_Submit_Submit_Operate
								.defaultComment("下架")
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_Barter_Property_PropertyItemPage_Page.Page.Operate c_Barter_Property_PropertyItemPage_Page_Page_Operate
	,	C_Barter_Property_PropertyItemAdd_AddAccess.AddAccess.Operate c_Barter_Property_PropertyItemAdd_AddAccess_AddAccess_Operate
	,	C_Barter_Property_PropertyItemImport_ExcelImport.ExcelImport.Operate c_Barter_Property_PropertyItemImport_ExcelImport_ExcelImport_Operate
	,	C_Barter_Property_PropertyItemExport_ExcelExport.ExcelExport.Operate c_Barter_Property_PropertyItemExport_ExcelExport_ExcelExport_Operate
	,	C_Barter_Property_PropertyItemDetail_DetailAccess.DetailAccess.Operate c_Barter_Property_PropertyItemDetail_DetailAccess_DetailAccess_Operate
	,	C_Barter_Property_PropertyItemEdit_EditAccess.EditAccess.Operate c_Barter_Property_PropertyItemEdit_EditAccess_EditAccess_Operate
	,	C_Barter_Property_PropertyItemDelete_Delete.Delete.Operate c_Barter_Property_PropertyItemDelete_Delete_Delete_Operate
	,	C_Barter_Property_PropertyItemPublish_Submit.Submit.Operate c_Barter_Property_PropertyItemPublish_Submit_Submit_Operate
	,	C_Barter_Property_PropertyItemUp_Submit.Submit.Operate c_Barter_Property_PropertyItemUp_Submit_Submit_Operate
	,	C_Barter_Property_PropertyItemDown_Submit.Submit.Operate c_Barter_Property_PropertyItemDown_Submit_Submit_Operate
	){
		return this.module(
				null,
				c_Barter_Property_PropertyItemPage_Page_Page_Operate
	,			c_Barter_Property_PropertyItemAdd_AddAccess_AddAccess_Operate
	,			c_Barter_Property_PropertyItemImport_ExcelImport_ExcelImport_Operate
	,			c_Barter_Property_PropertyItemExport_ExcelExport_ExcelExport_Operate
	,			c_Barter_Property_PropertyItemDetail_DetailAccess_DetailAccess_Operate
	,			c_Barter_Property_PropertyItemEdit_EditAccess_EditAccess_Operate
	,			c_Barter_Property_PropertyItemDelete_Delete_Delete_Operate
	,			c_Barter_Property_PropertyItemPublish_Submit_Submit_Operate
	,			c_Barter_Property_PropertyItemUp_Submit_Submit_Operate
	,			c_Barter_Property_PropertyItemDown_Submit_Submit_Operate
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
